package com.tuling.designpattern.mediator;

/**
 * @author 林瑞涛
 * @desc   抽象同事类
 * @date 2021年08月10日 19:36
 */
public abstract class Colleague {

    protected Mediator mediator;

    public void setMediator(Mediator mediator) {
        this.mediator = mediator;
    }

    public abstract void receive();

    public abstract void send();
}
